package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.IntroducerMapper;
import com.rongke.model.Introducer;
import com.rongke.service.IntroducerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @IntroducerServiceImpl
 * @介绍人ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class IntroducerServiceImpl extends ServiceImpl<IntroducerMapper, Introducer> implements IntroducerService {

    @Autowired
    private IntroducerMapper introducerMapper;

    /**
     * @根据条件查找介绍人
     * @param introducer
     * @return
     */
    @Override
    public List<Introducer> selectByCondition(Introducer introducer) {
        return introducerMapper.selectByCondition(introducer);
    }
}
